package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 会员管理对象 member
 *
 * @author ruoyi
 * @date 2021-10-25
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    private String nameVip;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 会员卡类型0-次卡，1-月卡，2-季卡，3-年卡，4-至尊vip */
    @Excel(name = "会员卡类型0-次卡，1-月卡，2-季卡，3-年卡，4-至尊vip")
    private String cardStatus;

    /** 性别0男1女2未知 */
    @Excel(name = "性别0男1女2未知")
    private String sex;

    /** 剩余次数 */
    @Excel(name = "剩余次数")
    private Long timesNow;

    /** 初始次数 */
    @Excel(name = "初始次数")
    private Long timesBegin;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPeople;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal moneyGet;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal moneyDis;

    /** 备注 */
    @Excel(name = "备注")
    private String msg;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private BigDecimal moneyNow;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNameVip(String nameVip)
    {
        this.nameVip = nameVip;
    }

    public String getNameVip()
    {
        return nameVip;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCardStatus(String cardStatus)
    {
        this.cardStatus = cardStatus;
    }

    public String getCardStatus()
    {
        return cardStatus;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setTimesNow(Long timesNow)
    {
        this.timesNow = timesNow;
    }

    public Long getTimesNow()
    {
        return timesNow;
    }
    public void setTimesBegin(Long timesBegin)
    {
        this.timesBegin = timesBegin;
    }

    public Long getTimesBegin()
    {
        return timesBegin;
    }
    public void setCreatePeople(String createPeople)
    {
        this.createPeople = createPeople;
    }

    public String getCreatePeople()
    {
        return createPeople;
    }
    public void setMoneyGet(BigDecimal moneyGet)
    {
        this.moneyGet = moneyGet;
    }

    public BigDecimal getMoneyGet()
    {
        return moneyGet;
    }
    public void setMoneyDis(BigDecimal moneyDis)
    {
        this.moneyDis = moneyDis;
    }

    public BigDecimal getMoneyDis()
    {
        return moneyDis;
    }
    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public String getMsg()
    {
        return msg;
    }
    public void setMoneyNow(BigDecimal moneyNow)
    {
        this.moneyNow = moneyNow;
    }

    public BigDecimal getMoneyNow()
    {
        return moneyNow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nameVip", getNameVip())
                .append("phone", getPhone())
                .append("cardStatus", getCardStatus())
                .append("sex", getSex())
                .append("timesNow", getTimesNow())
                .append("timesBegin", getTimesBegin())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createPeople", getCreatePeople())
                .append("moneyGet", getMoneyGet())
                .append("moneyDis", getMoneyDis())
                .append("msg", getMsg())
                .append("moneyNow", getMoneyNow())
                .toString();
    }
}
